export interface CompanyList {
  page?: number;
  pageSize?: number;
  name?: string;
  key?: string;
}

export interface role {
  id: number;
  name?: string;
  companyId?: number;
  addAccountId?: number;
  addAccountName?: string;
  addTime?: string;
  accountCounts?: number;
  address: string;
  telephone: number;
  menuIds: number[];
}
export interface AddListData {
  id: number;
  name: string;
  province: string;
  city: string;
  address: string;
  telephone: string;
  startTime: string;
  adminId: string;
  legalPerson: string;
  mobile: string;
  creditCode: string;
  license: number;
  medicalPoint: number;
  house: number;
  certificate: string;
  picture: string;
  adminPwd: string;
  adminUserName: string;
  adminName: string;
  adminMobile: string;
  addTime: string;
}

export interface CompanyListReturn {
  counts: number;
  list: AddListData[];
  pageSize: number;
}

// 添加
export interface rolesId {
  id: number;
}
export interface addData {
  id: number;
  photo: string;
  name: string;
  mobile: number | null;
  license: string;
  departmentId: number;
  departmentName: string;
  roles: rolesId[];
  roleIds: number[];
  adminUserName: string;
  adminPwd: string;
  enable: number;
  idCard: string;
  address: string;
  telephone: number;
}
